Skip to content

Comments

Revert to pre-AI-SDK state (January 29, 2026)#11462

Merged
daniel-lxs merged 1 commit intomainfrom
revert-ai-sdk-proper
Feb 13, 2026
Merged

Revert to pre-AI-SDK state (January 29, 2026)#11462
daniel-lxs merged 1 commit intomainfrom
revert-ai-sdk-proper

Conversation

@daniel-lxs
Copy link
Member

Revert to Pre-AI-SDK State

This PR reverts the codebase to commit 67e568f (January 29, 2026), removing all AI SDK migration work.

What This Does

  • Reverts to: 67e568f6b - "refactor: replace fetch_instructions with skill tool and built-in skills"
  • Date: January 29, 2026 (before AI SDK migrations began)
  • Commits removed: ~152 commits (all AI SDK work from Jan 29 - Feb 13)
  • Files changed: 678 files (60,413 insertions, 52,234 deletions)

Clean State

✅ This commit is verified to:

  • Build successfully (npm run build passes)
  • TypeScript check passes (all packages)
  • Tests pass (all packages)
  • Lint passes (all packages)
  • Be a stable, working state

Changes Summary

Major additions reverted:

  • Removed AI SDK provider migrations (@ai-sdk/*)
  • Removed message transformation layers
  • Removed delegation lifecycle improvements
  • Removed provider-specific caching implementations

Major features restored:

  • Browser action tool
  • Original search_and_replace tool (vs edit tool)
  • Built-in skills system
  • Original provider implementations

Next Steps

After merging this PR, a follow-up PR (#2) will add back:

  • Bug fixes created after Jan 29, 2026
  • Features unrelated to AI SDK
  • Improvements compatible with pre-AI-SDK codebase

Related

  • Part 1 of 2-step revert process
  • Follow-up PR will contain cherry-picked fixes
  • Backup branch available: main-with-ai-sdk

🤖 Generated with Claude Code

This commit reverts the codebase to the state before AI SDK migration work began.

Target commit: 67e568f - refactor: replace fetch_instructions with skill tool and built-in skills (#10913)
Date: January 29, 2026

This removes approximately 152 commits of AI SDK migration work.
A follow-up PR will add back bug fixes and features that are unrelated to AI SDK.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Feb 13, 2026
@roomote
Copy link
Contributor

roomote bot commented Feb 13, 2026

Rooviewer Clock   See task

Reviewed the full diff (678 files, 60k+ insertions, 52k+ deletions). Verified the branch tree is byte-for-byte identical to commit 67e568f6b -- no deviations from the target state. No new bugs introduced by this PR.

Key observations for the follow-up PR (Part 2):

  • Task history files saved in v2 RooMessage format (by 3.46.0+) will not load correctly under the reverted readApiMessages, which expects a plain MessageParam[] array. The follow-up should add backward-compatible parsing or a migration path.
  • The CLI markWebviewReady() ordering reverts to sending webviewDidLaunch before updateSettings/setRuntimeConfigValues, reintroducing a race condition fixed on main. The follow-up should cherry-pick that fix.
  • readApiMessages throws on JSON parse errors instead of returning []. The more resilient error handling added during the AI SDK period should be restored.
  • Azure provider is removed; users with apiProvider: "azure" will have it cleared by migrateInvalidApiProvider() and need to reconfigure.

No issues to resolve.

Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues.

@github-actions
Copy link
Contributor

🚀 Preview deployed!

Your changes have been deployed to Vercel:

Preview URL: https://roo-code-website-g98yl7r8d-roo-code.vercel.app

This preview will be updated automatically when you push new commits to this PR.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Feb 13, 2026
@daniel-lxs daniel-lxs merged commit 6cfa82f into main Feb 13, 2026
21 of 22 checks passed
@daniel-lxs daniel-lxs deleted the revert-ai-sdk-proper branch February 13, 2026 21:45
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Feb 13, 2026
yohans-kasaw pushed a commit to yohans-kasaw/Roo-Intenter that referenced this pull request Feb 21, 2026
Revert to pre-AI-SDK state (commit 67e568f)

This commit reverts the codebase to the state before AI SDK migration work began.

Target commit: 67e568f - refactor: replace fetch_instructions with skill tool and built-in skills (RooCodeInc#10913)
Date: January 29, 2026

This removes approximately 152 commits of AI SDK migration work.
A follow-up PR will add back bug fixes and features that are unrelated to AI SDK.

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants